# 方法1#随机生成10个0-100的数字，打印其最小值，排序并对其反序（“就地逆置”）
from random import randint
# a=[]
# for i in range(10):
#     a.append(randint(0,100))
# for j in range(10):
#     print(a[j],end="")
# print()
# print(min(a))
# a.sort()
# print(a)
# a.reverse()
# print(a)

#方法2
a = [randint(0,100) for i in range(10)]
print(a)
print(min(a))
a.sort()
print(a)
a.reverse()
print(a)